package com.zh.work.entity.channel;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * code is far away from bug with the animal protecting
 * ┏┓　　　┏┓
 * ┏┛┻━━━┛┻┓
 * ┃　　　　　　　┃
 * ┃　　　━　　　┃
 * ┃　┳┛　┗┳　┃
 * ┃　　　　　　　┃
 * ┃　　　┻　　　┃
 * ┃　　　　　　　┃
 * ┗━┓　　　┏━┛
 * 　　┃　　　┃神兽保佑
 * 　　┃　　　┃代码无BUG！
 * 　　┃　　　┗━━━┓
 * 　　┃　　　　　　　┣┓
 * 　　┃　　　　　　　┏┛
 * 　　┗┓┓┏━┳┓┏┛
 * 　　　┃┫┫　┃┫┫
 * 　　　┗┻┛　┗┻┛
 *
 * @Description: 渠道日志记录实体
 * @Author: Liard
 * @Create in: 2020/10/15 11:01
 * @Version: 1.0.1
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "渠道日志记录实体")
@Data
@TableName("communication_bank")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ChannelLogEntity extends  Model<ChannelLogEntity>  {

    private static final long serialVersionUID = -296280931168603979L;

    @ApiModelProperty(value = "主键", name = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "订单号", name = "orderno")
    @TableField("orderno")
    private String orderno;
    @ApiModelProperty(value = "渠道商户id", name = "channelId")
    private String channelId;
    @ApiModelProperty(value = "银行代码", name = "channelCode")
    private String channelCode;
    @ApiModelProperty(value = "所属交易 1-QRCode 2-快捷 3-网关 4-代付", name = "transType")
    private String transType;
    @ApiModelProperty(value = "请求状态 0-请求 1-银行返回", name = "input")
    private String input;
    @ApiModelProperty(value = "内容详情", name = "comDateStamp")
    @TableField(value = "com_datestamp")
    private String comDateStamp;
    @ApiModelProperty(value = "请求地址", name = "url")
    private String url;
    @ApiModelProperty(value = "添加时间", name = "addDate")
    @TableField(value = "add_date")
    private String addDate;

}
